package com.taoist_awei.blog.core;

import org.springframework.security.core.Authentication;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;

@Service
public interface AccessService {

    boolean hasPermit(HttpServletRequest request, Authentication auth);
}
